using UnityEngine;
using System.Collections;

public class Options : MonoBehaviour {
	public string DungeonSize = "Dungeon Size";
	public string MinSplit = "Min Split";
	public string MaxSplit = "Max Split";
	public string MinRoomSize = "Min Room Size";
	public string MaxRoomSize = "Max Room Size";
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	void OnGUI()
    {
		GUI.Label(new Rect(260,10,200,20), "Options");
		
		GUI.Label(new Rect(10,50,200,20), "Dungeon Size:");
		DungeonSize = GUI.TextField(new Rect(110, 50, 200, 20), DungeonSize, 25);
		
		GUI.Label(new Rect(10,90,200,20), "Min Split:");
		MinSplit = GUI.TextField(new Rect(110, 90, 200, 20), MinSplit, 25);
		
		GUI.Label(new Rect(10,130,200,20), "Max Split:");
		MaxSplit = GUI.TextField(new Rect(110, 130, 200, 20), MaxSplit, 25);
		
		GUI.Label(new Rect(10,170,200,20), "Min Room Size:");
		MinRoomSize = GUI.TextField(new Rect(110, 170, 200, 20), MinRoomSize, 25);
		
		GUI.Label(new Rect(10,210,200,20), "Max Room Size:");
		MaxRoomSize = GUI.TextField(new Rect(110, 210, 200, 20), MaxRoomSize, 25);
      	
		if(GUI.Button(new Rect(10,250,200,20), "Back"))
		{
			Application.LoadLevel("BSP");
		}
    } 
	
}
